# -*- coding:utf-8 -*-
"""
Created on Apr 29, 2011

@author: Lithuanian
"""
from numOfPilesPenalty import numOfPilesPenalty
from manhattanHeuristic import manhattenSumHuristics

class ManAndPiles:
    def evaluate(self, problem_state):
        man = manhattenSumHuristics()
        num = numOfPilesPenalty()
        return man.evaluate(problem_state) + num.evaluate(problem_state)